package cn._2dland.events
{
	import flash.events.Event;

	public class ResizeEvent extends Event
	{
		public static const RESIZE:String = "resize";

		private var _oldWidth:Number;
		private var _oldHeight:Number;

		public function ResizeEvent(type:String, oldWidth:Number, oldHeight:Number){
			super(type);
			_oldWidth = oldWidth;
			_oldHeight = oldHeight;
		}

		public function get oldWidth():Number {
			return _oldWidth;
		}

		public function get oldHeight():Number {
			return _oldHeight;
		}
	}
}